less  = require 'less'
module.exports = 
	'get /': (req, res)->
		res.render 'main'

	'get /template/:name': (req, res)->
		res.render req.params.name

	'get /template/:name/:partials': (req, res)->
		res.render req.params.name+ '/' + req.params.partials
